//
//  XMUserModel.h
//  XunMi
//
//  Created by MacBook on 2024/2/19.
//  Copyright © 2024 TieZhu. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, XMFileType) {
    XMFileTypeImage = 1,
    XMFileTypeImageAudio,
    XMFileTypeImageVideo,
};

@class XMRecentPhotosModel, XMDynamicModel;
NS_ASSUME_NONNULL_BEGIN

@interface XMFileModel : NSObject
@property (nonatomic, copy) NSString *file_url;
@property (nonatomic, assign) XMFileType file_type;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, copy) NSString *video_cover;
@property (nonatomic, assign) NSInteger voice_length;
@end

@interface XMUserModel : NSObject

#pragma mark - 列表
@property (nonatomic, copy) NSString *user_id;
@property (nonatomic, copy) NSString *person_id;
@property (nonatomic, copy) NSString *nickname;
@property (nonatomic, copy) NSString *gender;
@property (nonatomic, copy) NSString *alias;
@property (nonatomic, copy) NSString *age;
@property (nonatomic, copy) NSString *distance;
@property (nonatomic, copy) NSString *intimacy;
@property (nonatomic, copy) NSString *like_status;
@property (nonatomic, copy) NSString *is_recommend;
@property (nonatomic, strong) XMFileModel *avatar;
@property (nonatomic, strong) XMFileModel *voice_intro;
@property (nonatomic, strong) XMFileModel *video_cover;
@property (nonatomic, copy) NSString *is_accost;
@property (nonatomic, copy) NSString *handle_like;
@property (nonatomic, copy) NSString *handle_look;

#pragma mark - 通话记录
@property (nonatomic, copy) NSString *call_time;
@property (nonatomic, assign) NSInteger call_type;
@property (nonatomic, assign) NSInteger call_state;
@property (nonatomic, copy) NSString *call_duration;
@property (nonatomic, copy) NSString *call_label;
#pragma mark - 编辑资料
@property (nonatomic, copy) NSString *height;
@property (nonatomic, copy) NSString *weight;
@property (nonatomic, copy) NSString *province;
@property (nonatomic, copy) NSString *city;
@property (nonatomic, copy) NSString *area;
@property (nonatomic, copy) NSString *address;
@property (nonatomic, copy) NSString *occupation;
@property (nonatomic, copy) NSString *marriage;
@property (nonatomic, copy) NSString *dwellingState;
@property (nonatomic, copy) NSString *isAppointment;
@property (nonatomic, copy) NSString *trialMarriage;
@property (nonatomic, copy) NSString *purchase;
@property (nonatomic, copy) NSString *carBuving;
@property (nonatomic, copy) NSString *birthday;
@property (nonatomic, copy) NSString *education;
@property (nonatomic, copy) NSString *text_intro;
@property (nonatomic, copy) NSString *introduce;
@property (nonatomic, copy) NSString *emotion;
@property (nonatomic, copy) NSString *hobby;
@property (nonatomic, copy) NSString *income;
@property (nonatomic, copy) NSString *buying_car;
@property (nonatomic, copy) NSString *purchase_house;

// 0审核中 1 已审核
@property (nonatomic, assign) NSInteger avatar_verify;
@property (nonatomic, assign) NSInteger name_verify;

@property (nonatomic, assign) BOOL state;
#pragma mark - 个人信息详情
@property (nonatomic, copy) NSString *prepare_id;
@property (nonatomic, copy) NSString *token;
@property (nonatomic, copy) NSString *rongtoken;
@property (nonatomic, copy) NSString *mobile;
@property (nonatomic, copy) NSString *realname;
@property (nonatomic, copy) NSString *idcard;
@property (nonatomic, copy) NSString *video_level;
@property (nonatomic, copy) NSString *alipay_account;
@property (nonatomic, copy) NSString *bind_greet_text;
@property (nonatomic, copy) NSString *bind_greet_audio;
@property (nonatomic, strong) NSArray *tags;
@property (nonatomic, strong) NSArray<XMRecentPhotosModel *> *album_list;
@property (nonatomic, strong) NSArray *dynamic_list;
@property (nonatomic, copy) NSString *invisible;
@property (nonatomic, strong) NSNumber *today_sign_status;

@property (nonatomic, assign) NSInteger free_chat_times;
@property (nonatomic, assign) BOOL rtc_status;

@property (nonatomic, assign) BOOL bind_wechat_status;
@property (nonatomic, assign) BOOL bind_alipay_status;
@property (nonatomic, assign) BOOL user_recharge_status;

/// 禁言时间 大于零禁言
@property (nonatomic, strong) NSNumber *muted_minutes;
@property (nonatomic, strong) NSNumber *money;
@property (nonatomic, assign) BOOL invite_state;

/// 守护
@property (nonatomic, assign) BOOL is_watch;
/// 关注
@property (nonatomic, assign) BOOL is_regard;
/// 在线 用户在线状态  0 刚刚活跃  1 用户在线  2 用户离线
@property (nonatomic, strong) NSNumber *is_online;
/// 实名
@property (nonatomic, assign) BOOL idcard_verify;

@property (nonatomic, assign) BOOL is_hidden;
@property (nonatomic, assign) BOOL is_block;
@property (nonatomic, assign) BOOL is_mute;

/// 卡包数量
@property (nonatomic, assign) NSInteger coupons;

#pragma mark - 守护列表
@property (nonatomic, copy) NSString *guard_surplus;
@property (nonatomic, strong) NSNumber *guard_days;
@property (nonatomic, strong) NSNumber *guard_status;

#pragma mark - 首页列表
@property (nonatomic, copy) NSString *describe;
@property (nonatomic, strong) NSNumber *view_nums;
@property (nonatomic, copy) NSString *view_time;
@property (nonatomic, copy) NSString *block_time;
@property (nonatomic, copy) NSString *regard_time;

#pragma mark - 6 提现
///支付宝账号
@property (nonatomic, copy) NSString *ali_account;
///绑定手机状态  0 未绑定  1 已绑定
@property (nonatomic, copy) NSString *bind_mobile;
///用户积分数量
@property (nonatomic, copy) NSString *score_number;
///冻结
@property (nonatomic, copy) NSString *frozen_score;
///可用积分数量
@property (nonatomic, copy) NSString *handle_score;
///提现操作状态
@property (nonatomic, copy) NSString *handle_state;
///今日提现上限
@property (nonatomic, copy) NSString *handle_limit;
///用户提现次数
@property (nonatomic, copy) NSString *handle_times;
/// 提现卡
@property (nonatomic, copy) NSString *coupon_number;


#pragma mark - 4 金币余额
@property (nonatomic, copy) NSString *golds;
@property (nonatomic, copy) NSString *member_time;

#pragma mark - 8 聊天卡片
@property (nonatomic, copy) NSString *chat_cover;

#pragma mark - 邀请
@property (nonatomic, copy) NSString *benefit_score;
@property (nonatomic, copy) NSString *benefit_money;

@property (nonatomic, assign) BOOL hasNext;

#pragma mark - 辅助字段
@property (nonatomic, assign) BOOL isRecommend;
@property (nonatomic, assign) BOOL isMan;
@property (nonatomic, assign) BOOL isGirl;

@property (nonatomic, copy) NSString *showName;
@property (nonatomic, strong) UIColor *showColor;

- (CGFloat)userDetailCellHeightWithIndex:(NSInteger)index;

@end

NS_ASSUME_NONNULL_END
